﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FAP.DataAccess.BLL;

namespace FAP.DataAccess.Test
{
    class Program
    {
        static void Main(string[] args)
        {
            var lst = taikhoan.taikhoanSelectAll();
            for (int i = 0; i < 100; i++)
                foreach (var item in lst)
                {
                    var lstTemp = chitietbuocthuchien.chitietbuocthuchienSelectAll();
                    taikhoan.taikhoanUpdateRow(item.id, item.tendangnhap, item.matkhau, item.email, item.cookie, DateTime.Now, item.websiteid, item.trangthai, item.isdeleted);
                    Console.WriteLine(string.Format("Updated {0}", item.id));
                }
        }
    }
}
